﻿@model dynamic
@{   
    int k = 0;   
}
<p>@Html.ActionLink("Bajar A Excel", "DownloadFile")</p>
<table class="Reporte1" id="tbr">
    <thead>
        <tr>
            <th>#</th>        
            <th style="width:100px;">Número Solicitud</th>
            <th>Postulante</th>
            <th>Solicitante</th>
            <th style="width:100px;">Fecha Registro</th>    
        </tr>
        @foreach (var item in Model)
    {
        k++;       
        <tr class="@(k%2 != 0 ? "odd" : "even")">
            <td>@k]</td>          
            <td>@item.solicitud</td>
            <td>[@item.numDocPost] @item.postulante </td>
            <td>[@item.numDocSoli] @item.solicitante </td>         
            <td>@String.Format("{0:dd/MM/yyyy}", item.dtFecRegistro)</td>        
        </tr>
    }
     </thead>
</table>